package com.itheima.manager.staffManager;
//经理类
public class Manager extends staff {
    private int money;

    public Manager(String id, String name, int age, int money) {
        super(id, name, age);
        this.money = money;
    }
    public Manager() {
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    @Override
    public void who() {
        System.out.println("    经理所写");
    }
}
